package com.hm.day1211;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Bighouse {

	private String size;
	@Autowired
	private Servers servers;

	public Bighouse() {
	}

	@Override
	public String toString() {
		return "Bighouse [size=" + size + ", servers=" + servers + "]";
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public Servers getServers() {
		return servers;
	}

	public void setServers(Servers servers) {
		this.servers = servers;
	}
}
